package xcmg.device.dao.entity.sfModel;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import lombok.Data;

import java.util.Date;
import java.util.List;

/**
 * @author ZHANGK
 * @date 2020/10/15
 **/
@Data
public class PurchaseOrderDO {

    @JacksonXmlProperty(localName = "WarehouseCode")
    private String warehouseCode;

    @JacksonXmlProperty(localName = "ErpOrder")
    private String erpOrder;

    @JacksonXmlProperty(localName = "ErpOrderType")
    private String erpOrderType;

    @JacksonXmlProperty(localName = "OrderDate")
    private String OrderDate;

    @JacksonXmlProperty(localName = "Buyer")
    private String buyer;

    @JacksonXmlProperty(localName = "BuyerPhone")
    private String buyerPhone;

    @JacksonXmlProperty(localName = "ScheduledReceiptDate")
    private String scheduledReceiptDate;

    @JacksonXmlProperty(localName = "VendorCode")
    private String vendorCode;

    @JacksonXmlProperty(localName = "TransferWarehouseCode")
    private String transferWarehouseCode;

    @JacksonXmlProperty(localName = "OriginalOrderNo")
    private String originalOrderNo;

    @JacksonXmlProperty(localName = "Note")
    private String note;

    @JacksonXmlProperty(localName = "ReceiptMode")
    private String receiptModel;

    @JacksonXmlProperty(localName = "LicensePlateNumber")
    private String licensePlateNumber;

    @JacksonXmlProperty(localName = "Driver")
    private String driver;

    @JacksonXmlProperty(localName = "TradePlatform")
    private String tradePlatform;

    @JacksonXmlProperty(localName = "TradeOrder")
    private String tradeOrder;

    @JacksonXmlProperty(localName = "DriverCalls")
    private String driverCalls;

    @JacksonXmlProperty(localName = "UserDef1")
    private String userDef1;

    @JacksonXmlProperty(localName = "UserDef2")
    private String userDef2;

    @JacksonXmlProperty(localName = "UserDef3")
    private String userDef3;

    @JacksonXmlProperty(localName = "UserDef4")
    private String userDef4;

    @JacksonXmlProperty(localName = "UserDef5")
    private String userDef5;

    @JacksonXmlProperty(localName = "UserDef6")
    private String userDef6;

    @JacksonXmlProperty(localName = "UserDef7")
    private String userDef7;

    @JacksonXmlProperty(localName = "UserDef8")
    private String userDef8;

    @JacksonXmlElementWrapper(localName = "Items")
    @JacksonXmlProperty(localName = "Item")
    private List<PurchaseOrderItemDO> itemList;

    @JacksonXmlProperty(localName = "Result")
    private String result;

}
